/*
 * *
 *  * <pre>
 *  *     author : ${USER}
 *  *     e-mail : xxx@xx
 *  *     time   : ${YEAR}/${MONTH}/${DAY}
 *  *     desc   :
 *  *     version: 1.0
 *  * </pre>
 *
 */
package com.ovopark.firecar.okhttp

import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy

/**
 * retrofit的自定义header表示请求的超时.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
annotation class DynamicTimeout(
        /**
         * 超时时间 单位：s.
         * @return
         */
        val timeout: Int)